<?php
namespace app\modules\content\models;

use yii\db\ActiveRecord;
use yii;

class Education extends ActiveRecord
{
    public static function tableName()
    {
        return '{{%education}}';
    }

    /**
     * [getEducation description]
     * @Author don
     * @Date   2021-09-27
     * @return [type]     [description]
     */
    public static function getEducation()
    {
    	$data = self::find()->asArray()->all();
    	return $data;
    }
}